package org.opentcs.kcvehicle.communication.kc.service;

import org.opentcs.kcvehicle.communication.kc.udp.agv.param.AgvEvent;
import org.opentcs.kcvehicle.communication.kc.udp.agv.param.function.af.QueryRobotStatusRsp;
import org.opentcs.kcvehicle.communication.kc.udp.agv.param.function.b0.QueryCargoStatusRsp;


public interface Communication {
  //0xAF,查询机器人状态
  QueryRobotStatusRsp queryRobotStatus();

  //0xB0(查询载货状态)
  QueryCargoStatusRsp checkCargoStatus();

  //0x02(read操作)
  Boolean read(AgvEvent event);

  //0x03(write操作)
  Boolean write(AgvEvent event);

  //0xAE(混合导航指令)
  Boolean navigationControl(AgvEvent event);

  String getProtocolName();
}
